import requet from '@/utils/request'

// 获取所有用户
export const queryUser = (id) => {
    return requet.get(`/upload/${id}`)
}
export const updateUser = (data) => {
    return requet.put('/upload', data)
}
export const uploadImg = (data) => {
    return requet.post('/upload', data)
}